package com.music.controller;

import com.music.common.BaseResult;
import com.music.service.CmMyHomePageFormlateService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Tong
 * @Date 2020/12/17 18:02
 */
@RestController
@RequestMapping("/myhomepageformlate")
@Api(description = "主页相关接口")
//@CrossOrigin
public class CmMyHomePageFormlateController {
    @Autowired
    CmMyHomePageFormlateService cmMyHomePageFormlateService;

    @RequestMapping(value = "CmMyHomePageFormfindAll",method = RequestMethod.GET)
    public BaseResult CmMyHomePageFormfindAll() {
        return cmMyHomePageFormlateService.CmMyHomePageFormfindAll();
    }
}
